#! /usr/bin/env python
# -*- coding:utf-8 -*-
# Author：wding
from django.db import models
from models import Host


obj = Host.objects.fileter(id=1)
ip = obj.ipaddress
print (ip)